import router from "@/router";

// 路由前置守卫 参数to要去 from从那来 next要不要通过
router.beforeEach((to, from, next) => {
    
    if (to.path === "/ConTainer") {
        next("/ConTainer/essential")

    } else {
        next()
    }
})
// 路由后置守卫
router.afterEach(route => {

})